import request from '@/api/http.js'
export default {
  publishDynamic(data) {
    return request.post('/circles.Publish/dynamic', data)
  },

  publishUsedIdle(data) {
    return request.post('/circles.Publish/usedIdle', data)
  },

  publishOrganizeBureau(data) {
    return request.post('/circles.Publish/organizeBureau', data)
  },

  homeCirclesPostLists(params) {
    return request.get('/circles.CirclesPost/homeLists', { params })
  },

  topicCirclesPostLists(params) {
    return request.get('/circles.Topic/circlesPostLists', { params })
  },

  mineCirclesPostLists(params) {
    return request.get('/circles.CirclesPost/mine', { params })
  },

  otherUserCirclesPostLists(params) {
    return request.get('/circles.CirclesPost/otherUser', { params })
  },

  likeCirclesPostLists(params) {
    return request.get('/circles.CirclesPost/like', { params })
  },

  videoLists(params) {
    return request.get('/circles.CirclesPost/video', { params })
  },

  circlesPostDetail(params) {
    return request.get('/circles.CirclesPost/detail', { params })
  },

  circlesPostDetailComments(params) {
    return request.get('/circles.CirclesPost/detailComments', { params })
  },

  circlesPostLike(data) {
    return request.post('/circles.CirclesPost/like', data)
  },

  circlesPostObJoin(data) {
    return request.post('/circles.CirclesPost/obJoin', data)
  },

  circlesPostComment(data) {
    return request.post('/circles.CirclesPost/comment', data)
  },

  circlesPostReport(data) {
    return request.post('/circles.CirclesPost/report', data)
  },

  circlesPostDelist(data) {
    return request.post('/circles.CirclesPost/delist', data)
  },

  circlesPostDelete(data) {
    return request.post('/circles.CirclesPost/delete', data)
  },

  generateMpUrlLink(data) {
    return request.post('/wechat.Miniprogram/generateUrlLink', data)
  },
}
